package com.mioto.ld.module.alert.model;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 联动执行动作配置实体
 * @author mioto
 * @date 2024-05-20 23:49:39
 */
@Data
@ApiModel(value = "联动执行动作配置")
public class LinkageFunction implements Serializable{

    private static final long serialVersionUID=LinkageFunction.class.getName().hashCode();
    

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "联动配置id")
    private Integer linkageId;

    @ApiModelProperty(value = "执行动作类型 1-消息通知 2-设备功能执行")
    private Integer functionType;

    @ApiModelProperty(value = "执行动作类型id/消息通知模板id")
    private Integer targetId;
    @ApiModelProperty(value = "通知方式 1-app 2-邮件 3-短信 多个逗号隔开")
    private String notifyModes;
}